//package com.jiezhuo.config;
//
//
//import com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
//import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.transaction.annotation.EnableTransactionManagement;
//
//
//@EnableTransactionManagement
//@Configuration
//@MapperScan("com.dome.attestationCentre.mapper")
//public class MybatisPlusConfig {
//    @Bean
//    public OptimisticLockerInterceptor OptimisticLockerInnerInterceptor() {
//        return new OptimisticLockerInterceptor();
//    }
//    /**
//     * 分页插件
//     * @return
//     */
//    @Bean
//    public PaginationInterceptor mybatisPlusInterceptor() {
//        return new PaginationInterceptor();
//    }
////    @Bean
////    public ISqlInjector sqlInjector(){
////            return new LogicSqlInjector();
////    }
//
//}
